﻿@model IList<User>

@{
    ViewBag.Title = "Наши волонтеры";
}

<h2>Наши волонтёры</h2>
<style>
TD
{
	padding-left: 3em;
	padding-top: 1em
}
</style>
<table>
<thead>
	<tr>
		<td>Аватар</td>
		<td>Имя</td>
		<td>Рейтинг</td>
	</tr>
</thead>
<tbody>
	@foreach (var user in Model)
	{
		<tr>
			<td>@Avatar.Medium(user, imageClass:"profile_photo")</td>
			<td>@(Html.ActionLink<UserController>(x => x.View(user.Id), user.DisplayName))</td>
			<td>@user.Stars</td>
		</tr>
	}
</tbody>
</table>

